// person.js
//获取应用实例
var app = getApp()
Page({
  data: {
    motto: 'Hello World',
    userInfo: {}
  },
  onLoad: function () {
    var that = this
    //调用应用实例的方法获取全局数据
    //更新数据
    that.setData({
      userInfo: wx.getStorageSync('userInfo')
    })
  },
  toorder:function(){
    wx.navigateTo({
      url: '../order/order',
    })
  },
  topersonaddress: function () {
    wx.navigateTo({
      url: '../personaddress/personaddress',
    })
  },
  smallreport: function () {
    wx.navigateTo({
      url: '../smallreport/smallreport',
    })
  },
})